﻿using System.ComponentModel.DataAnnotations;

namespace HY.Entity
{
    public class Storehouse : EntityBaseModel
    {
        /// <summary>
        /// 仓库名称或编号
        /// </summary>
        [Required]
        [StringLength(20)]
        public string Code { get; set; }
        /// <summary>
        /// 仓库类型ID
        /// </summary>
        [Required]
        public int StoreTypeID { get; set; }
        /// <summary>
        /// 所属园区ID
        /// </summary>
        [Required]
        public int ParkID { get; set; }
        /// <summary>
        /// 仓库面积
        /// </summary>
        public decimal? Area { get; set; }
        /// <summary>
        /// 高度
        /// </summary>
        public decimal? Height { get; set; }
        /// <summary>
        /// 长度
        /// </summary>
        public decimal? Length { get; set; }
        /// <summary>
        /// 宽度
        /// </summary>
        public decimal? Width { get; set; }

        [StringLength(200)]
        public string SFGBC { get; set; }

        [StringLength(200)]
        public string CKLX { get; set; }

        [StringLength(200)]
        public string KZMJ { get; set; }

        [StringLength(200)]
        public string JZLX { get; set; }

        [StringLength(200)]
        public string SFDYT { get; set; }

        [StringLength(200)]
        public string FHDJ { get; set; }

        [StringLength(200)]
        public string SFYXC { get; set; }

        [StringLength(200)]
        public string DPCZ { get; set; }

        [StringLength(200)]
        public string JZJG { get; set; }

        [StringLength(200)]
        public string CKXJ { get; set; }
    }
}
